/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cz.uhk.ppro.response.model;

import java.io.Serializable;
import java.util.List;
import javax.persistence.Entity;
import javax.persistence.OneToMany;
import javax.persistence.Table;

/**
 *
 * @author Martin Zmítko <martin.zmitko@gmail.com>
 */

@Entity
@Table(name="TYPES")
public class Types extends NamedEntity implements Serializable{

    private String descr;

    @OneToMany(mappedBy="types")
    private List<Test> tests;

    public List<Test> getTest() {
        return tests;
    }

    public void setTest(List<Test> tests) {
        this.tests = tests;
    }

    public String getDescr() {
        return descr;
    }

    public void setDescr(String descr) {
        this.descr = descr;
    }



}
